package com.goldsprite.spinelearn.examples.gfsm.states;

public class SpineMovingJumpState extends SpineJumpState {
	@Override
	public boolean canExit() {
		return fsm.getEntity().isAnimationComplete();
	}

	@Override
	public void enter() {
		super.enter();
		System.out.println("进入移动跳跃状态");
	}

	@Override
	public void running() {
		fsm.getEntity().move(fsm.getInput().getMoveDirection());
	}
}
